class Vertex<T1, T2>
 {
	private final T1 vertexId;
	private T2 vertexInfo;
	
	public Vertex()
	{
		this.vertexId = null;
		this.vertexInfo = null;
	}	

	public Vertex(T1 vId, T2 vInfo)
	{
		this.vertexId = vId;
		this.vertexInfo = vInfo;
	}
	public  Vertex(T1 vId)
	{
		this.vertexId = vId;
		this.vertexInfo = null;
	}
	public T2 getVertextInfo()
	{
		return this.vertexInfo;
	}
	public T1 getVertexId()
	{ 
		return this.vertexId;
	}
	
	public void setVertexInfo(T2 vInfo)
	{
		this.vertexInfo = vInfo;	
	}
	public String toString()
	{
		return this.vertexId+""; 
	}
 }



